﻿using IterationLife.FootballTeaching.Models;
using Util.Domains.Repositories;

namespace IterationLife.FootballTeaching.Repositories {
    /// <summary>
    /// 球员位置仓储
    /// </summary>
    public interface IPlayerPositionRepository : IRepository<PlayerPosition> {
        /// <summary>
        /// 获取排序号
        /// </summary>
        int GetSortId();

        /// <summary>
        /// 是否重复
        /// </summary>
        /// <param name="code">编码</param>
        /// <param name="name">名称</param>
        /// <param name="id">编号</param>

        bool IsRepeat(string code, string name, string id);
    }
}
